Pod::Spec.new do |s|
  s.name         = 'CTMediatorTestBCategory'
  s.version      = '0.0.1'
  s.summary      = 'CTMediatorTestBCategory'

  s.description  = <<-DESC
                    this is CTMediatorTestBCategory
                   DESC

  s.homepage     = 'https://gitee.com/dafiger/CTMediatorTestBCategory'

  s.license      = { :type => "MIT", :file => "LICENSE" }

  s.author       = 'dafiger'

  s.platform     = :ios, "10.0"
#    s.ios.deployment_target = "10.0"

  s.source       = { :git => 'https://gitee.com/dafiger/CTMediatorTestBCategory.git', :tag => s.version.to_s }

#    文件路径
  s.source_files = 'CTMediatorTestBCategory/Classes/**/*.{h,m,mm}'
#    s.source_files = 'CTMediatorTestBCategory/Classes/**/*.{h,m,mm}', 'CTMediatorTestBCategory/Other/**/*'
#    被排除的文件
#    s.exclude_files = 'CTMediatorTestBCategory/Classes/**/unused.{h,m}'

#    公开头文件
  s.public_header_files = 'CTMediatorTestBCategory/Classes/**/*.h'
#    私有头文件
#    s.private_header_files = 'CTMediatorTestBCategory/Classes/private/**/*.h'
#    预编译文件
  s.prefix_header_file = false
#    s.prefix_header_file = 'CTMediatorTestBCategory/Classes/CTMediatorTestBCategory_prefix.pch'
#    s.prefix_header_contents = '#import <UIKit/UIKit.h>', '#import <Foundation/Foundation.h>'
#    s.prefix_header_contents = '#import "Masonry.h"', '#import "YYModel.h"', '#import "SDWebImageManager.h"', '#import "UIImageView+WebCache.h"', '#import "UIButton+WebCache.h"'

#    添加到最终私有pod目标xcconfig文件的flag, 注入宏定义
#    s.pod_target_xcconfig = {
#      'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) __APP_Config=1',
#      'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
#    }
#    s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '__APP_Config=1'}
#    s.pod_target_xcconfig = {'OTHER_LDFLAGS' => '-lObjC'}

#    不推荐使用
#    s.user_target_xcconfig = { 'MY_SUBSPEC' => 'YES' }
#    s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }

#    资源文件1，自动打包
  s.resource_bundles = {
    'CTMediatorTestBCategory_Bundle' => ['CTMediatorTestBCategory/Resources/**/*']
  }
#    s.resource_bundles = {
#      'CTMediatorTestBCategory_Images_bundle' => ['CTMediatorTestBCategory/Resource.bundle'],
#      'CTMediatorTestBCategory_Images_resource' => ['CTMediatorTestBCategory/Resource.xcassets'],
#      'CTMediatorTestBCategory_Images_png' => ['CTMediatorTestBCategory/Resource/**/*.png'],
#      'CTMediatorTestBCategory_Images_jpg' => ['CTMediatorTestBCategory/Resource/**/*.jpg'],
#      'CTMediatorTestBCategory_storyboard' => ['CTMediatorTestBCategory/Classes/**/*.storyboard'],
#      'CTMediatorTestBCategory_xib' => ['CTMediatorTestBCategory/Classes/**/*.xib']
#    }
#    资源文件2，手动打包
#    s.resources = ['CTMediatorTestBCategory/Resources/**/*']
#    s.resources = 'Resource.bundle', 'Resource.xcassets'
#    s.resources = ['CTMediatorTestBCategory/Resource/**/*.png', 'CTMediatorTestBCategory/Resource/**/*.jpg']
#    s.resources = 'Resource/**/*.{png,jpg,jpeg,xcassets,bundle,storyboard,xib,json,plist,db,a,framework}'

#    文件分级
#    s.subspec 'Core' do |ss|
#      ss.source_files = 'CTMediatorTestBCategory/Classes/Core/**/*'
#      ss.public_header_files = 'CTMediatorTestBCategory/Classes/Header/*.h'
#      ss.private_header_files = 'CTMediatorTestBCategory/Classes/private/Header/*.h'
#      ss.dependency 'xxx'
#      ss.dependency 'xxx/xxx'
#      ss.dependency 'CTMediatorTestBCategory/Core'
#      ss.dependency "#{s.name}/Core"
#    end

#    s.subspec 'Header' do |ss|
#      ss.source_files = 'CTMediatorTestBCategory/Classes/Header/**/*'
#      ss.public_header_files = 'CTMediatorTestBCategory/Classes/Header/*.h'
#    end
  
#    s.subspec 'Classes' do |ss|
#      ss.source_files = 'CTMediatorTestBCategory/Classes/**/*'
#      ss.public_header_files = 'CTMediatorTestBCategory/Classes/**/*.h'
#      ss.exclude_files = 'CTMediatorTestBCategory/Classes/Header/**/*'
#      ss.dependency "#{s.name}/Header"
#    end

#    静态库
#    .a 或 libz.tbd 后缀不要, 名字里lib开头的三个字母不要, libz.tbd 应写成 'z'
#    s.libraries 依赖苹果官方静态库, 类似libstdc++.a, libsqlite.a等a文件
#    s.libraries = 'iconv', 'sqlite3', 'stdc++', 'z'
#    s.vendored_libraries 依赖第三方静态库, 类似libWeChatSDK.a, libWeiboSDK.a等a文件
#    s.vendored_libraries = 'Resource/lib/**/*.{a}', 'xxx'

#    动态库
#    s.frameworks = "UIKit", "Foundation"
#    s.frameworks 依赖苹果官方动态库, 类似UIKit, SystemConfiguration等framework文件
#    s.frameworks = 'UIKit', 'Foundation', 'SystemConfiguration'
#    s.vendored_frameworks 依赖第三方动态库, 类似TencentOpenAPI.framework等framework文件
#    s.vendored_frameworks = 'Resource/Framework/**/*.{framework}'
#    framework要加preserve_paths预加载路径
#    s.preserve_paths = 'Resources/**/*.{framework, a}', 'xxx'
#    s.preserve_paths = 'xxx', 'xxx'

#    ARC
  s.requires_arc = true
#    s.requires_arc = false
#    s.requires_arc = 'Classes/Arc' 该文件夹下是ARC, 其它非ARC

#    s.default_subspec = 'Classes'

#    s.dependency 'xxx', :path => 'xxx/xxx'
#    s.dependency 'Masonry', '~> 1.1.0'
#    s.dependency 'SDWebImage', '~> 5.1.0'
#    s.dependency 'AFNetworking', '~> 3.2.1'
  s.dependency 'CTMediator', '~> 29'
end
